package com.fanhang.samples.jfinal.model;

import com.fanhang.samples.jfinal.model.table.UserTable;
import com.jfinal.plugin.activerecord.Db;

public class User extends UserTable {
	private static final long serialVersionUID = 1L;
	
	public int getCount() {
		StringBuilder sql = new StringBuilder();
		sql.append("select * from dual ");
		
		return Db.queryInt(sql.toString());
	}
	
}
